﻿// Identity
Name SdKfz 251 Ausf. D Snow
ShortName SdKfz251DSnow
Description German Half-track

// Visuals
Icon wolffgermany_sdkfz251snow
Model wolffgermany.SdKfz251D
Texture wolffgermany_sdkfz_251_ausf_d_snow
RotateWheels true

// Recipe and Inventory
AddRecipeParts core 1 tankBody 4 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
AddDye 10 gray
FuelTankSize 2000
CargoSlots 10
ShellSlots 0

// Movement and Physics
DriveType TRACKED
RealMassKg 7000
RealEnginePowerPS 100
RealMaxSpeedKmh 52.5
RealMaxReverseSpeedKmh 9
MaxThrottle 1.0
MaxNegativeThrottle 0.4
TurnLeftSpeed 0.35
TurnRightSpeed 0.35
FourWheelDrive true
Tank true
WheelRadius 1.0
WheelPosition 0 -34 -8 -17
WheelPosition 1 -34 -8 17
WheelPosition 2 46 -8 17
WheelPosition 3 46 -8 -17
WheelSpringStrength 0.5

// Weapons
ReadWeaponsFromGunTypes true
GunOrigin 1 2 5 0
GunOrigin 2 -43 6 0
ShellDelay 999
ShootDelay 999

// Armour and Health
UseRealisticVehicleHealth true
ArmorFrontMm 14.5
ArmorSideMm 8
ArmorRearMm 8
ArmorTopMm 0
ArmorBottomMm 5.5
TurretArmorFrontMm 14.5
TurretArmorSideMm 8
TurretArmorRearMm 8
TurretArmorTopMm 0
SetupPart core 1000 -55 -6 -21 108 28 42
SetupPart frontLeftWheel 50 38 -9 14 13 13 5
SetupPart frontRightWheel 50 38 -9 -19 13 13 5
SetupPart leftTrack 500 -41 -9 14 68 13 7
SetupPart rightTrack 500 -41 -9 -21 68 13 7
BulletDetection 5

// Seats
Driver 4 -1 -5
Passengers 5
Passenger 1 -10 12 0 core -60 60 -15 25 maschinengewehr34 MGFront
Passenger 2 -32 12 0 core 135 225 -10 40 maschinengewehr34 MGRear
Passenger 3 4 -1 5 core
Passenger 4 -21 -2 -6 core
Passenger 5 -21 -2 6 core

// Camera and Optics
CameraDistance 7.5

// Sounds
StartSound halftrack_idle
StartSoundLength 60
EngineSound halftrack_engine
EngineSoundLength 70
ShootSoundSecondary MG34Shoot
